#pragma once

#include <FormatEdit/FormatEdit.h>
// CLabFormatEdit

class CLabFormatEdit : public CFormatEdit
{
	DECLARE_DYNAMIC(CLabFormatEdit)

public:
	CLabFormatEdit();
	virtual ~CLabFormatEdit();
	virtual BOOL IsValidEditChar(TCHAR tcChar);
	BOOL SetValidFormat(const CString& strValidFormat);
	CString GetValidFormat();

	CString m_strValidFormat;
protected:
	DECLARE_MESSAGE_MAP()
	LRESULT OnEditKillFocus( WPARAM, LPARAM );
	LRESULT OnEditEscape( WPARAM, LPARAM );
};


